<template>
	<view class="page">
		<!-- tab切换 -->
		<view class="tab-wrap">
			<view class="end-title">
				<view v-for="(item,index) in tabData" :key="index" :class="{on:count == index}" @click.stop="tabChange(index)">
					{{item}}
				</view>
			</view>
			<view class="tab-cont">
				<view class="list-wrap">
					<navigator url="../shengxuelujingDetail/shengxuelujingDetail" hover-class="none" class="item" v-for="(index,item) in 10" :key="index">
						<view class="head">
							汉授文科
						</view>
						<view class="body">
							广义的文科（liberal arts）是指以人类社会独有的政治、经济、文化等为研究对象的学科。又称人文社会科学。狭义的文科是指高中
							<text class="more">
								更多>
							</text>
						</view>
					</navigator>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				btnnum: 0,
				tabData: ["普通类", "艺术类", "特殊类招生", "专项类","政审类"],
				count: "",
			}
		},
		methods: {
			//tab切换
			tabChange(e) {
				let that = this;
				that.count = e
				that.btnnum = e
				console.log(that.count)
			},
		},
		onReachBottom(){
			console.log(111)
		}
	}
</script>

<style lang="scss" scoped>
	@import  'shengxuelujing.scss';
	@import '../../common/icon/iconfont.css';
</style>
